package com.community.body.service;

import com.community.body.domain.ZyCommunity;
import com.community.body.dto.OwnerCommunityDTO;
import com.community.body.dto.ZyCommunityDTO;
import com.community.body.vo.EchartsVo;
import com.community.common.core.domain.entity.SysUser;

import java.util.List;


/**
 * buildingsService接口
 * 
 * @author community
 * @date 2024-04-09
 */
public interface IZyCommunityService 
{
    /**
     * 查询buildings
     * 
     * @param communityId buildings主键
     * @return buildings
     */
    public ZyCommunity selectZyCommunityByCommunityId(Long communityId);

    /**
     * 查询buildings列表
     * 
     * @param zyCommunity buildings
     * @return buildings集合
     */
    public List<ZyCommunity> selectZyCommunityList(ZyCommunityDTO zyCommunity);

    /**
     * 新增buildings
     * 
     * @param zyCommunity buildings
     * @return 结果
     */
    public int insertZyCommunity(ZyCommunity zyCommunity);

    /**
     * 修改buildings
     * 
     * @param zyCommunity buildings
     * @return 结果
     */
    public int updateZyCommunity(ZyCommunity zyCommunity);

    /**
     * 批量删除buildings
     * 
     * @param communityIds 需要删除的buildings主键集合
     * @return 结果
     */
    public int deleteZyCommunityByCommunityIds(Long[] communityIds);

    /**
     * 删除buildings信息
     * 
     * @param communityId buildings主键
     * @return 结果
     */
    public int deleteZyCommunityByCommunityId(Long communityId);

    String importCommunity(List<ZyCommunity> communityList, boolean updateSupport, String operName);

    List<ZyCommunity> selectZyCommunityExport(Long[] arr);

    List<ZyCommunityDTO> selectZyCommunityList3(ZyCommunityDTO zyCommunityDTO);

    List<OwnerCommunityDTO> selectZyCommunityList5(OwnerCommunityDTO ownerCommunityDTO);

    List<EchartsVo> getMap(ZyCommunity zyCommunity);

    List<EchartsVo> getPersonList(SysUser user);
}
